#include <iostream>
#include <string>

int main()
{
	std::string str = "";
	
	std::cout << "Enter string: ";
	std::getline(std::cin, str);

	std::cout << "Length of string: " << str.length() << "\n";

	return 0;
}